[id].vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845
  1. <template>
  2. <div>
  3. <!-- 页面头部 -->
  4. <HomePageHead></HomePageHead>
  5. <HomePageNavigation></HomePageNavigation>
  6. <!-- 商圈详情 -->
  7. <div class="topicInfoBox">
  8. <div class="inner">
  9. <!-- 详情头部 -->
  10. <div class="infoHead phone_none">
  11. <div class="left">
  12. <div class="userInfo left">
  13. <el-badge value="楼主" class="item" type="warning">
  14. <img v-if='dataInfo.avatar' :src="dataInfo.avatar" alt="">
  15. <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png'
  16. alt="">
  17. </el-badge>
  18. <span>{{ dataInfo.nickname }}</span>
  19. </div>
  20. <div class="headContent left">
  21. <h2>{{ dataInfo.title }}</h2>
  22. <p v-show="dataInfo.group_name">
  23. 群聊:
  24. <span>{{ dataInfo.group_name }}</span>
  25. <button @click="joinGroup">加入群聊</button>
  26. </p>
  27. </div>
  28. </div>
  29. <div class="right">
  30. <div class="one">
  31. <span v-for="item in typeList" :key="index">
  32. <span v-if="dataInfo.type == item.value" class="one">{{ item.label }}</span>
  33. </span>
  34. </div>
  35. <p>{{ dataInfo.updated_at }}</p>
  36. </div>
  37. </div>
  38. <div class="pc_none">
  39. <h2 class="phone_h2">{{ dataInfo.title }}</h2>
  40. <div class="phone_box_1">
  41. <div class="phone_tag_box">
  42. <span v-for="item in typeList" :key="index">
  43. <span v-if="dataInfo.type == item.value" class="phone_tag_box_text">{{item.label}}</span>
  44. </span>
  45. </div>
  46. <span class="phone_time">{{ dataInfo.updated_at }}</span>
  47. </div>
  48. <div class="phone_box_2">
  49. <el-badge class="phone_img_box" type="warning">
  50. <img v-if='dataInfo.avatar' :src="dataInfo.avatar" alt="">
  51. <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png' alt="">
  52. </el-badge>
  53. <span class="phone_name">
  54. {{ dataInfo.nickname }}
  55. </span>
  56. </div>
  57. <div class="phone_box_3" v-show="dataInfo.group_name">
  58. <div class="phone_group_label"> 群聊: </div>
  59. <span class="phone_group_name">
  60. {{ dataInfo.group_name }}
  61. </span>
  62. <button class="phone_group_btn" @click="joinGroup">加入群聊</button>
  63. </div>
  64. </div>
  65. <!-- 详情页 文本+图片 -->
  66. <div class="infoContent" v-show="dataInfo.content">
  67. <div v-html="dataInfo.content"></div>
  68. </div>
  69. <div class="infoContent1" v-show="!dataInfo.content">
  70. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Document_empty.png" alt="">
  71. <span>可以看看大家的互动哦~</span>
  72. </div>
  73. <!-- 详情页评论 -->
  74. <div class="comment">
  75. <h3>评论</h3>
  76. <div class="commentList ul_2_phone_none" v-for="item in replyList" v-show="page_total != 0">
  77. <div class="left">
  78. <img v-if='item.avatar' :src="item.avatar" alt="">
  79. <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png' alt="">
  80. <span class="name">{{ item.nickname }} : </span>
  81. </div>
  82. <div class="center">
  83. <span class="context">{{ item.content }}</span>
  84. </div>
  85. <div class="right">
  86. <span class="time">{{ item.created_at }}</span>
  87. <!-- <span>回复</span> -->
  88. </div>
  89. </div>
  90. <div class="ul_2 pc_none">
  91. <div class="li_2" v-for="item in replyList" v-show="page_total != 0">
  92. <div class="li_2_head_box">
  93. <div class="li_2_img_box">
  94. <img v-if='item.avatar' :src="item.avatar" alt="" >
  95. <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png' alt="">
  96. </div>
  97. <div class="li_2_head">{{ item.nickname }}</div>
  98. </div>
  99. <div class="li_2_text">
  100. {{ item.content }}
  101. </div>
  102. <div class="li_2_time">{{ item.created_at }}</div>
  103. </div>
  104. </div>
  105. <div class="comment_empty" v-show="page_total == 0">
  106. <img src="../../public/topic/message_empty.png" alt="">
  107. <span>暂无评论</span>
  108. </div>
  109. </div>
  110. <!-- 分页 -->
  111. <div class="paginationBox phone_none" v-show="page_total != 0">
  112. <el-pagination background layout="prev, pager, next" :total="page_total" prev-text="上一页"
  113. next-text="下一页" :default-page-size="pageSize" @change="changePage" />
  114. </div>
  115. <!-- 分页 phone-->
  116. <div class="paginationBox pc_none" v-show="page_total != 0">
  117. <el-pagination
  118. pager-count="5"
  119. size="small"
  120. background
  121. layout=" pager "
  122. :total="page_total"
  123. :default-page-size="pageSize"
  124. @change="changePage" />
  125. </div>
  126. </div>
  127. </div>
  128. <div class="message">
  129. <div class="inner">
  130. <input v-model="content" placeholder="快来回复吧~" type="text" class="messageInput">
  131. <button class="btn" @click="addReply">确定</button>
  132. </div>
  133. </div>
  134. <!-- 页面底部 -->
  135. <HomeFoot1></HomeFoot1>
  136. </div>
  137. </template>
  138. <script setup>
  139. //1.引用模块 start ---------------------------------------->
  140. //使用ref和reactive动态变量
  141. import { ref, reactive, onMounted } from 'vue'
  142. import { useRoute } from 'vue-router';
  143. //使用官方ssr请求模块
  144. import { useNuxtApp, useFetch } from '#app'
  145. //使用element-plus组件
  146. import { ElPagination, ElBadge, ElInput, ElMessage, ElMessageBox } from 'element-plus';
  147. // axios请求
  148. const nuxtApp = useNuxtApp();
  149. const axios = nuxtApp.$axios;
  150. const { $webUrl, $CwebUrl, $BwebUrl } = useNuxtApp()
  151. //1.引用模块 end ---------------------------------------->
  152. // 定义响应式数据
  153. const seoData = ref({
  154. title: '商圈',
  155. description: '默认描述',
  156. keywords: '默认关键词',
  157. image: 'https://example.com/default-image.jpg'
  158. });
  159. // 在 onMounted 钩子中获取数据
  160. onMounted(() => {
  161. seoData.value.title = '商圈';
  162. seoData.value.description = '默认描述';
  163. seoData.value.keywords = '默认关键词';
  164. })
  165. //2.页面数据 start ---------------------------------------->
  166. const dataInfo = ref({})
  167. const groupId = useState("groupId", () => '')
  168. const replyList = useState("replyList", () => []) //评论列表
  169. //分页
  170. const page = ref(1)
  171. const pageSize = ref(5)
  172. let page_total = ref(0)
  173. const content = ref('')
  174. //2.页面数据 end ---------------------------------------->
  175. //3.获取商圈详情 start ---------------------------------------->
  176. const route = useRoute();
  177. const id = route.params.id; // 获取传递的 id 参数
  178. //页码发生改变
  179. const changePage = (val) => {
  180. console.log(val);
  181. page.value = val
  182. getTopicReply()
  183. }
  184. // 商圈信息
  185. const getTopicInfo = () => {
  186. let data = new FormData()
  187. data.append('id', id)
  188. axios.post('chat/getTopicInfo', data).then(res => {
  189. console.log('商圈信息', res);
  190. dataInfo.value = res.data
  191. groupId.value = res.data.group_id
  192. console.log(groupId.value);
  193. })
  194. }
  195. // 回复商圈 列表
  196. const getTopicReply = () => {
  197. let data = new FormData()
  198. data.append('id', id)
  199. data.append('page', page.value)
  200. data.append('page_size', pageSize.value)
  201. axios.post('chat/getTopicReply', data).then(res => {
  202. console.log('回复商圈列表 ', res);
  203. replyList.value = res.data.data
  204. // page_total.value = res.data.total
  205. page_total.value = res.data.total
  206. console.log("replyList", replyList);
  207. })
  208. }
  209. //5.获取分类和状态 start ---------------------------------------->
  210. const listData = useState("listData", () => [])//商圈列表
  211. const typeList = useState("typeList", () => [])//商圈分类
  212. const topicType = () => {
  213. axios.post('/chat/topicType').then(response => {
  214. console.log(111222333)
  215. console.log(response.data);
  216. // console.log(1);
  217. typeList.value = response.data;
  218. })
  219. }
  220. const topicStatus = () => {
  221. axios.post('chat/topicStatus').then(response => {
  222. console.log(response);
  223. })
  224. }
  225. onMounted(() => {
  226. getTopicInfo(); //商圈信息
  227. getTopicReply(); //回复商圈列表
  228. topicType();
  229. topicStatus();
  230. })
  231. //加入群聊
  232. const joinGroup = () => {
  233. ElMessageBox.confirm(
  234. '加入群聊后,页面跳转至后台群聊页面',
  235. '是否加入群聊?',
  236. {
  237. confirmButtonText: '是',
  238. cancelButtonText: '否',
  239. center: true,
  240. }
  241. ).then(() => {
  242. console.log('groupId.value', groupId.value);
  243. let data = new FormData()
  244. data.append('group_id', groupId.value)
  245. axios.post('chat/joinGroup', data).then(res => {
  246. console.log('加入群聊 ', res);
  247. if (res.code == 0 && res.message !== '已加入群') {
  248. ElMessage.error(res.message)
  249. } else if (res.code == 0 && res.message == '已加入群') {
  250. ElMessage({
  251. message: res.message,
  252. type: 'success',
  253. })
  254. setTimeout(() => {
  255. // window.open($BwebUrl + '/#/hall?userurl=' + $webUrl, '_blank');
  256. window.open($BwebUrl + '/#/businessDistrict?userurl=' + $webUrl, '_blank');
  257. //window.open('http://admindev.bjzxtw.org.cn/#/hall', '_blank');
  258. }, 1000)
  259. } else if (res.code == 200) {
  260. ElMessage({
  261. message: '加入成功',
  262. type: 'success',
  263. })
  264. setTimeout(() => {
  265. // window.open($BwebUrl + '/#/hall?userurl=' + $webUrl, '_blank');
  266. window.open($BwebUrl + '/#/businessDistrict?userurl=' + $webUrl, '_blank');
  267. //window.open('http://admindev.bjzxtw.org.cn/#/hall', '_blank');
  268. }, 1000)
  269. }
  270. })
  271. }).catch(() => {
  272. ElMessage({
  273. type: 'error',
  274. message: '已取消',
  275. })
  276. })
  277. }
  278. // 回复商圈
  279. const addReply = () => {
  280. let data = new FormData()
  281. data.append('id', id)
  282. data.append('content', content.value)
  283. axios.post('chat/addReply', data).then(res => {
  284. console.log('回复商圈 ', res);
  285. if (res.code == 0) {
  286. ElMessage.error(res.message)
  287. getTopicReply();
  288. } else if (res.code == 200) {
  289. ElMessage({
  290. message: '回复成功',
  291. type: 'success',
  292. })
  293. content.value = ''
  294. getTopicReply();
  295. }
  296. })
  297. }
  298. //3.获取商圈详情 end ---------------------------------------->
  299. //seo
  300. useSeoMeta({
  301. title: "商圈" + "_" + "三农资讯网_全国政务信息一体化应用平台",
  302. meta: [
  303. { name: 'description', content: "三农资讯网以服务于党和国家各级职能部门三农政务资讯发布及政务公开信息公示为基点,为全国县级以上各级党政机关及其职能部门配置各自公开独立网络发布平台。主要频道有:三农政务资讯,农科资讯,农资购销,农产购销,农贸资讯,三农致富信息,农村文化生活,三农政策法规,三农之窗,三农调查,三农服务,三农知识,农民工,打假维权等。三农资讯网打造最具影响力的三农信息发布平台,并成为最具权威的三农资讯网。_三农资讯网-测试专用_全国政务信息一体化应用平台", tagPriority: 10 },
  304. { name: 'keywords', content: "三农资讯,农业,三农,三农在线,农业新闻,三农资讯网_三农资讯网-测试专用_全国政务信息一体化应用平台", tagPriority: 10 },
  305. { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no',tagPriority: 10 }
  306. ]
  307. });
  308. </script>
  309. <style lang="less" scoped>
  310. .topicInfoBox {
  311. .inner {
  312. width: 1200px;
  313. margin: 0 auto;
  314. //信息头部
  315. .infoHead {
  316. height: 200px;
  317. padding: 65px 0 60px 40px;
  318. border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  319. box-sizing: border-box;
  320. >.left {
  321. .userInfo {
  322. margin-right: 90px;
  323. .item {
  324. margin-top: -5px;
  325. margin-right: -5px;
  326. :deep(.el-badge__content.is-fixed) {
  327. position: absolute;
  328. right: calc(1px + var(--el-badge-size) / 2);
  329. top: 0;
  330. transform: translateY(-31%) translateX(79%);
  331. z-index: var(--el-index-normal);
  332. }
  333. img {
  334. width: 66px;
  335. height: 66px;
  336. vertical-align: middle;
  337. border-radius: 50%;
  338. }
  339. }
  340. span {
  341. margin-left: 15px;
  342. font-family: Microsoft YaHei, Microsoft YaHei;
  343. font-weight: 400;
  344. font-size: 18px;
  345. color: #333333;
  346. }
  347. }
  348. .headContent {
  349. h2 {
  350. width: 750px;
  351. height: 56px;
  352. line-height: 28px;
  353. display: -webkit-box;
  354. -webkit-box-orient: vertical;
  355. -webkit-line-clamp: 2;
  356. overflow: hidden;
  357. text-overflow: ellipsis;
  358. word-break: break-all;
  359. font-family: Microsoft YaHei, Microsoft YaHei;
  360. font-weight: bold;
  361. font-size: 20px;
  362. color: #333333;
  363. margin-bottom: 26px;
  364. }
  365. >p {
  366. font-family: Microsoft YaHei, Microsoft YaHei;
  367. font-weight: 400;
  368. font-size: 16px;
  369. color: #333333;
  370. button {
  371. width: 86px;
  372. height: 32px;
  373. background-color: #028e21;
  374. color: #fff;
  375. border: none;
  376. margin-left: 100px;
  377. }
  378. }
  379. }
  380. }
  381. >.right {
  382. position: relative;
  383. div {
  384. position: absolute;
  385. right: 0;
  386. top: 0;
  387. width: 71px;
  388. height: 32px;
  389. line-height: 32px;
  390. text-align: center;
  391. background-color: #d9f0d6;
  392. margin-bottom: 29px;
  393. font-family: Microsoft YaHei, Microsoft YaHei;
  394. font-weight: 400;
  395. font-size: 16px;
  396. color: #33B023;
  397. }
  398. .one {
  399. color: #FFAA33;
  400. background-color: #fbebd5;
  401. }
  402. .two {
  403. color: #33B023;
  404. background-color: #d5ecd2;
  405. }
  406. .three {
  407. color: #666;
  408. background-color: #ebebeb;
  409. }
  410. p {
  411. width: 150px;
  412. text-align: right;
  413. position: absolute;
  414. top: 62px;
  415. right: 0;
  416. }
  417. }
  418. }
  419. // 有详情信息
  420. .infoContent {
  421. width: 1196px;
  422. overflow: hidden;
  423. padding: 30px 46px;
  424. font-family: Microsoft YaHei, Microsoft YaHei;
  425. font-size: 20px;
  426. line-height: 40px;
  427. box-sizing: border-box;
  428. div {
  429. word-wrap: break-word;
  430. /* 强制长单词或 URL 换行 */
  431. overflow-wrap: break-word;
  432. /* 现代推荐用法,等同于 word-wrap */
  433. white-space: pre-wrap;
  434. /* 保留空白字符并允许自动换行 */
  435. word-break: break-all;
  436. /* 强制在任意字符处换行 */
  437. }
  438. }
  439. .leftBottom::v-deep p {
  440. width: 1200px;
  441. white-space: pre-wrap;
  442. }
  443. //没有详情信息
  444. .comment_empty,
  445. .infoContent1 {
  446. height: 300px;
  447. line-height: 260px;
  448. text-align: center;
  449. img {
  450. width: 78px;
  451. height: 78px;
  452. vertical-align: -25px;
  453. vertical-align: middle;
  454. margin-right: 20px;
  455. }
  456. span {
  457. font-family: Microsoft YaHei, Microsoft YaHei;
  458. font-weight: bold;
  459. font-size: 26px;
  460. color: #CCCCCC;
  461. }
  462. }
  463. //评论
  464. .comment {
  465. h3 {
  466. height: 100px;
  467. padding-top: 30px;
  468. box-sizing: border-box;
  469. border-bottom: 1px solid #E1E1E1;
  470. font-family: Microsoft YaHei, Microsoft YaHei;
  471. font-weight: 400;
  472. font-size: 22px;
  473. color: #000000;
  474. }
  475. .commentList {
  476. border: 1px solid #E1E1E1;
  477. background-color: #fafafa;
  478. margin-top: 20px;
  479. padding: 30px 30px;
  480. box-sizing: border-box;
  481. display: flex;
  482. align-items: flex-start;
  483. justify-content: space-between;
  484. .left {
  485. width: 400px;
  486. margin-right: 30px;
  487. display: flex;
  488. justify-content: space-between;
  489. img {
  490. width: 52px;
  491. height: 52px;
  492. border-radius: 50%;
  493. vertical-align: middle;
  494. margin-right: 15px;
  495. }
  496. span {
  497. height: 52px;
  498. line-height: 22px;
  499. padding-top: 10px;
  500. }
  501. .name {
  502. width: 120px;
  503. font-family: Microsoft YaHei, Microsoft YaHei;
  504. font-weight: 400;
  505. font-size: 16px;
  506. color: #333333;
  507. margin-right: 15px;
  508. white-space: nowrap;
  509. overflow: hidden;
  510. text-overflow: ellipsis;
  511. display: block;
  512. }
  513. }
  514. .center {
  515. .context {
  516. width: 700px;
  517. margin-right: 40px;
  518. display: -webkit-box;
  519. -webkit-box-orient: vertical;
  520. -webkit-line-clamp: 2;
  521. overflow: hidden;
  522. text-overflow: ellipsis;
  523. word-break: break-all;
  524. font-family: Microsoft YaHei, Microsoft YaHei;
  525. font-weight: bold;
  526. font-size: 16px;
  527. color: #333333;
  528. }
  529. }
  530. .right {
  531. .time {
  532. display: block;
  533. width: 200px;
  534. font-family: Microsoft YaHei, Microsoft YaHei;
  535. font-weight: 400;
  536. font-size: 16px;
  537. color: #999999;
  538. margin-right: 30px;
  539. }
  540. span {
  541. font-family: Microsoft YaHei, Microsoft YaHei;
  542. font-weight: 400;
  543. font-size: 16px;
  544. color: #333333;
  545. }
  546. }
  547. }
  548. }
  549. }
  550. }
  551. //评论回复
  552. .message {
  553. width: 1200px;
  554. margin: 0 auto 20px;
  555. padding: 0px 25px;
  556. box-sizing: border-box;
  557. height: 145px;
  558. line-height: 145px;
  559. background-color: #ecf5ee;
  560. .inner {
  561. .messageInput {
  562. width: 1000px;
  563. height: 67px;
  564. outline: none;
  565. border: 1px solid #E1E1E1;
  566. background-color: #fafafa;
  567. font-family: Microsoft YaHei, Microsoft YaHei;
  568. font-weight: 400;
  569. font-size: 18px;
  570. color: #666;
  571. padding: 0 20px;
  572. box-sizing: border-box;
  573. }
  574. .btn {
  575. width: 115px;
  576. height: 40px;
  577. border: none;
  578. background-color: #028e21;
  579. color: #fff;
  580. border-radius: 6px;
  581. margin-left: 36px;
  582. font-family: Microsoft YaHei, Microsoft YaHei;
  583. font-weight: 400;
  584. font-size: 16px;
  585. }
  586. }
  587. }
  588. //分页
  589. .paginationBox {
  590. display: flex;
  591. justify-content: center;
  592. margin-top: 60px;
  593. margin-bottom: 90px;
  594. // 鼠标移入后字体颜色
  595. :deep(.el-pagination:hover) {
  596. color: #139609;
  597. }
  598. :deep(.el-pagination.is-background .btn-next),
  599. :deep(.el-pagination.is-background .btn-prev) {
  600. width: 70px;
  601. height: 34px;
  602. margin: 0px 10px;
  603. border-radius: 4px;
  604. }
  605. :deep(.el-pagination.is-background .el-pager li) {
  606. margin: 0px 10px;
  607. width: 38px;
  608. height: 34px;
  609. border-radius: 4px;
  610. }
  611. :deep(.el-pagination.is-background .btn-next.is-active),
  612. :deep(.el-pagination.is-background .btn-prev.is-active),
  613. :deep(.el-pagination.is-background .el-pager li.is-active) {
  614. background-color: #028e21;
  615. color: #fff;
  616. }
  617. }
  618. </style>
  619. <style lang="less" scoped>
  620. @media screen and (min-width:801px){/*pc*/
  621. .pc_none{display:none;}
  622. }
  623. @media screen and (max-width:800px){/*ipad_phone*/
  624. .topicInfoBox .inner{width:92%;margin:0px auto;}
  625. .phone_h2{margin-top:11px;
  626. font-size:20px;line-height:22px;display:block;color:#333;
  627. }
  628. .phone_box_1{overflow:hidden;width:100%;padding-bottom:2px;border-bottom:solid 1px #E8E7E6;
  629. margin-top:8px;line-height:22px;min-height:22px;}
  630. .phone_tag_box{ height:22px;float:left;}
  631. .phone_tag_box_text {float:left;height:22px;line-height:22px; font-size:12px;margin-right:8px;
  632. color:#999;}
  633. .phone_time{height:22px;line-height:22px;color:#999;float:left;font-size:12px;float:left;padding-left:10px;position:relative;}
  634. .phone_time::before{content:'';position:absolute;left:0;top:50%;width:2px;height:2px;background:#999;}
  635. .phone_box_2{overflow:hidden;margin:10px 0;padding:4px 0; display:flex;}
  636. .phone_img_box{ height:38px;width:38px;border-radius:50%; margin-right:6px;}
  637. .phone_img_box img{display:block;height:100%;width:100%;border-radius:50%;}
  638. .phone_name{ display:block; line-height:38px;height:38px;color:#333;font-size:16px;flex: 1;
  639. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;}
  640. .phone_box_3{overflow:hidden;margin-top:10px; background:#ccc;background:rgba(204,204,204,.2);
  641. padding:10px 0px;
  642. display:flex; justify-content: space-between;
  643. }
  644. .phone_group_label{ height:33px;line-height:33px;color:#333;font-size:14px;margin-left:8px;float:left;}
  645. .phone_group_btn{float:right;height:28px;line-height:28px;
  646. background:rgba(169,27,51,.1);
  647. color:#a91b33;
  648. font-size:12px;
  649. padding:0px 6px;text-align:center;border:0;
  650. margin:3px 8px 0 11vw;}
  651. .phone_group_name{ display:block;line-height:33px;height:33px;color:#333;font-size:14px;
  652. flex: 1;
  653. word-wrap: break-word;
  654. overflow-wrap: break-word;
  655. white-space: pre-wrap;
  656. word-break: break-all;
  657. }
  658. .topicInfoBox .inner .infoContent{width:100%;padding:0; margin-top:22px;}
  659. .topicInfoBox .inner .infoContent,.topicInfoBox .inner .infoContent *{font-size:16px;line-height:22px;}
  660. .topicInfoBox .inner .infoContent /deep/img{display:block;width:100%;}
  661. .topicInfoBox .inner .comment h3{height:50px;font-size:18px;line-height:50px;padding:0;margin-top:20px; }
  662. .ul_2{ margin-top:10px;}
  663. .li_2{
  664. overflow:hidden;
  665. width:100%;margin-bottom:10px;border:solid 1px #e7e7e7;box-sizing:border-box;
  666. .li_2_head_box{background:#fafafa;padding:10px 10px;width:100%;box-sizing:border-box;
  667. border-bottom:solid 1px #e7e7e7;}
  668. .li_2_img_box{width:33px;height:33px;overflow:hidden;margin-right:8px;border-radius:50%;float:left;}
  669. .li_2_img_box img{display:block;height:100%;width:100%; }
  670. .li_2_head{line-height:33px;height:33px;color:#333;font-size:16px;
  671. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  672. }
  673. .li_2_text{margin-top:8px;line-height:22px;color:#333;font-size:16px;overflow:hidden;
  674. box-sizing:border-box;padding:0px 10px;width:100%; word-wrap: break-word;
  675. overflow-wrap: break-word;
  676. white-space: pre-wrap;
  677. word-break: break-all;
  678. }
  679. .li_2_time{margin:8px 0px;line-height:22px;height:22px;color:#555;font-size:14px;padding:0px 10px;width:100%;}
  680. }
  681. .paginationBox{margin:30px auto;}
  682. .message{width:100%;text-align:center;height:auto;padding:33px 0px;line-height:normal;}
  683. .message .inner{width:92%; margin:0px auto;}
  684. .message .inner .messageInput{ width:100%;line-height:33px;height:33px;padding:0px 8px;font-size:14px;border-radius:6px;}
  685. .message .inner .btn{ line-height:33px;height:33px;width:auto;margin-left:2vw;padding:0px 6px;font-size:14px;display:none;}
  686. /deep/.el-pagination .is-last .is-active{background-color:#a91b33!important;}
  687. /deep/.el-pagination.is-background .el-pager li{margin:0px 4px!important;}
  688. .ul_2_phone_none{display:none!important;}
  689. .phone_none{display:none;}
  690. }
  691. </style>